curl --request PATCH \
--url https://sandbox.veritusagent.ai/api/v1/customers/{customerId} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"firstName": "<string>",
"middleName": "<string>",
"lastName": "<string>",
"email": "<string>",
"primaryPhone": "<string>",
"secondaryPhone": "<string>",
"ssnLastFour": "<string>",
"dateOfBirth": "2023-12-25",
"address": {
"line1": "<string>",
"line2": "<string>",
"city": "<string>",
"state": "<string>",
"zip": "<string>"
},
"collections": {
"principalBalance": 1,
"originalCreditor": "<string>",
"accruedInterestAmount": 1,
"totalBalance": 1,
"chargeOffDate": "2023-12-25",
"firstDelinquencyDate": "2023-12-25",
"settlementAggregationRate": 1,
"originalAccountNumber": "<string>",
"itemizationBalance": 1,
"postItemizationInterest": 1,
"postItemizationFees": 1,
"postItemizationCredits": 1,
"postItemizationPayments": 1,
"productType": "<string>",
"originalProductType": "<string>"
}
}
'{
"requestId": "96b887fb-9371-4515-b51e-28434f58dd7e",
"success": true,
"data": {
"id": "550e8400-e29b-41d4-a716-446655440000",
"externalId": "CUST-12345",
"firstName": "Jane",
"middleName": "Marie",
"lastName": "Doe",
"email": "[email protected]",
"primaryPhone": "+12025551234",
"secondaryPhone": "+12025555678",
"address": {
"line1": "456 Oak Ave",
"line2": "Unit 12",
"city": "Washington",
"state": "DC",
"zip": "20001"
},
"collections": {
"principalBalance": 4500,
"originalCreditor": "ABC Bank",
"accruedInterestAmount": 250.5,
"totalBalance": 4750.5,
"chargeOffDate": "2023-01-15",
"firstDelinquencyDate": "2022-06-01",
"settlementAggregationRate": 0.65,
"originalAccountNumber": "4111111111111111",
"itemizationBalance": 4500,
"postItemizationInterest": 150.25,
"postItemizationFees": 100.25,
"postItemizationCredits": 50,
"postItemizationPayments": 200,
"productType": "Credit Card",
"originalProductType": "Visa Signature"
},
"ssnLastFour": "1234",
"dateOfBirth": "1985-03-15"
}
}Update an existing customer’s information. All fields are optional - only provide the fields you want to update.
curl --request PATCH \
--url https://sandbox.veritusagent.ai/api/v1/customers/{customerId} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"firstName": "<string>",
"middleName": "<string>",
"lastName": "<string>",
"email": "<string>",
"primaryPhone": "<string>",
"secondaryPhone": "<string>",
"ssnLastFour": "<string>",
"dateOfBirth": "2023-12-25",
"address": {
"line1": "<string>",
"line2": "<string>",
"city": "<string>",
"state": "<string>",
"zip": "<string>"
},
"collections": {
"principalBalance": 1,
"originalCreditor": "<string>",
"accruedInterestAmount": 1,
"totalBalance": 1,
"chargeOffDate": "2023-12-25",
"firstDelinquencyDate": "2023-12-25",
"settlementAggregationRate": 1,
"originalAccountNumber": "<string>",
"itemizationBalance": 1,
"postItemizationInterest": 1,
"postItemizationFees": 1,
"postItemizationCredits": 1,
"postItemizationPayments": 1,
"productType": "<string>",
"originalProductType": "<string>"
}
}
'{
"requestId": "96b887fb-9371-4515-b51e-28434f58dd7e",
"success": true,
"data": {
"id": "550e8400-e29b-41d4-a716-446655440000",
"externalId": "CUST-12345",
"firstName": "Jane",
"middleName": "Marie",
"lastName": "Doe",
"email": "[email protected]",
"primaryPhone": "+12025551234",
"secondaryPhone": "+12025555678",
"address": {
"line1": "456 Oak Ave",
"line2": "Unit 12",
"city": "Washington",
"state": "DC",
"zip": "20001"
},
"collections": {
"principalBalance": 4500,
"originalCreditor": "ABC Bank",
"accruedInterestAmount": 250.5,
"totalBalance": 4750.5,
"chargeOffDate": "2023-01-15",
"firstDelinquencyDate": "2022-06-01",
"settlementAggregationRate": 0.65,
"originalAccountNumber": "4111111111111111",
"itemizationBalance": 4500,
"postItemizationInterest": 150.25,
"postItemizationFees": 100.25,
"postItemizationCredits": 50,
"postItemizationPayments": 200,
"productType": "Credit Card",
"originalProductType": "Visa Signature"
},
"ssnLastFour": "1234",
"dateOfBirth": "1985-03-15"
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
The unique identifier of the customer to update
The first name of the customer.
The middle name of the customer.
The last name of the customer.
The email address of the customer.
The primary phone number of the customer. (E.164 format)
The secondary phone number of the customer. (E.164 format)
The last four digits of the customer's Social Security Number.
4The date of birth of the customer. YYYY-MM-DD format.
The address of the customer.
Show child attributes
The first line of the address.
The second line of the address (e.g., apartment, suite, unit number).
The city of the address.
The state of the address.
The zip code of the address. Use 5 digits (12345) or 9 digits (12345-1234) format.
Collections account information for the customer.
Show child attributes
The principal balance amount.
x >= 0The name of the original creditor.
The amount of accrued interest.
x >= 0The total balance of the customer's collections.
x >= 0The date when the account was charged off. (ISO-8601 format: YYYY-MM-DD).
The date of the first delinquency. (ISO-8601 format: YYYY-MM-DD).
The settlement aggregation rate.
x >= 0The original account number.
The itemization balance amount.
x >= 0Interest accrued after itemization.
x >= 0Fees accrued after itemization.
x >= 0Credits applied after itemization.
x >= 0Payments made after itemization.
x >= 0The current product type.
The original product type.
Customer successfully updated
The request identifier.
Whether the update operation completed successfully.
The updated customer object.
Show child attributes
The ID of the customer.
The ID of the customer in your system.
The first name of the customer.
The last name of the customer.
The email address of the customer.
The primary phone number of the customer. (E.164 format)
The address of the customer.
Show child attributes
The zip code of the address. Use 5 digits (12345) or 9 digits (12345-1234) format.
The first line of the address.
The second line of the address (e.g., apartment, suite, unit number).
The city of the address.
The state of the address.
The middle name of the customer.
The secondary phone number of the customer. (E.164 format)
The last four digits of the customer's Social Security Number. Required for collections customers.
4The date of birth of the customer. YYYY-MM-DD format. Required for collections customers.